#!/bin/bash

RSS_URL=http://www.echo.msk.ru/programs/
RSS_FILE=rss-audio.xml
PROGRAM=$1
URL=${RSS_URL}${PROGRAM}/${RSS_FILE}

TMP_DIR=~/.tmp_echomsk_files/
TMPURLFILE=${TMP_DIR}"tmp_one_url"

# START
echo ${URL} > ${TMPURLFILE}
newsbeuter -r -u ${TMPURLFILE}
